<html>
<head>
<script src="../../../../../global-themis/js/jquery.js"></script>
<?php
include ("../../../../../PCO.php");
include ("../../../../../global-themis/functions/function_graph_2.php");
include ("../../../../../global-themis/functions/functions.php");
$resultat="";
$data=array();
$title=array();
$render_to="";
$resultat="";
$compte="";
if(isset($_GET['selec_compte'])){ 
	$compte=$_GET['selec_compte']; // recuperer la valuer du compte...
	$render_to="container";
	$title='';
	$data=getData($compte);
	$resultat.=buildChart($data, $render_to, 1050, 550, $title, 'area'); // construire le graphe
	echo "	<script src='../../../../../global-themis/js/highstock.js' type='text/javascript'></script>
			<script type='text/javascript' src='../../../../../global-themis/js/modules/exporting.js'></script>
			<script type='text/javascript' src='../../../../../global-themis/js/themes/gray.js'></script>
			<script type='text/javascript'>";
	echo $resultat;
	echo "</script>";
}
?>
</head>
<body>
<div id='container'></div>
</body>
</html>
